*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul {
    list-style: none;
  }
  
  a {
    display: block;
    text-decoration: none;
    color: inherit;
  }
html{
    height: 100%;
}
body{
    height: 100%;
}
header {
    height: 51px;
    background-color: #ff0000;
    position: relative;
    text-align: center;
    line-height: 51px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    .arrows {
        width: 50px;
        height: 51px;
        float: left;
        line-height: 51px;
        text-align: center;
        color: #fff;
        font-size: 30px;
        font-weight: 600;
    }
    .app {
        position: absolute;
        top: 7px;
        right: 7px; // float: right;
        width: 34px;
        height: 34px; // margin-top: 7px;
        // margin-right: 7px;
        img {
            width: 100%;
        }
    }
    span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.content{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border: 3px solid red;
    padding-top: 5px;
    padding-bottom: 15px;
    a{  
        padding-top: 5px;
        border: 1px solid #ccc;
        width: 32.3%;
        text-align: center;
        font-size: 13px;
        color: #666;
        margin: 2px;
        img{
            width: 50%;
        }
        p{
            line-height: 13px;
            padding-bottom: 10px;
        }
    }
}
.bar{
    display: flex;
    width: 100%;
    font-size: 14px;
    height: 36px;
    background-color: #ebebeb;
    border-top: solid 1px #ebebeb;
    border-bottom: 1px solid #ccc;
    line-height: 36px;
}
.nav{
    background: #efefef;
    border-top: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    height: 34px;
    line-height: 34px;
    margin-top: 25px;
    clear: both;
    a:nth-child(1),a:nth-child(2){
        float: left;
        font-size: 14px;
        border-right: 1px solid #c4c4c4;
        text-align: center;
        width: 30%;
    }
    a:nth-child(3){
        float: left;
        font-size: 14px;
        width: 40%;
        text-align: center;
        img{
            vertical-align: middle;
            margin-top: -5px;
            margin-right: 2px;
        }
    }
}
.footer{
    background: #efefef;
    text-align: center;
    font-size: 12px;
    padding: 15px 0;
    color: #666;
    p{
        display: flex;
        justify-content: center;
        a:nth-child(2){
            color: #000;
            padding: 0 2px;
        }
    }
}

